{include file="header.html"}
<div id="rightTop">
    <p>{$lang.stat}</p>
    {include file=subnav.html}
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" id="export_type" name="export_type" data-param='{"url":"{$actionurl}&exporttype=excel"}' value="excel"/>
                <a class="btn1" href="javascript:void(0);" id="export_btn"><span>{$lang.export_excel}</span></a>
            </div>
        </form>
    </div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <thead>
            <tr class="tatr1">
                <td class="firstCell">{$lang.username}</td>
                <td>{$lang.register_time}</td>
                <td>{$lang.login_count}</td>
                <td>{$lang.last_login_time}</td>
                <td>{$lang.mobile_num}</td>
                <td>{$lang.avaliable_integral}</td>
                <td>{$lang.total_integral}</td>
                <td>{$lang.avaliable_money}</td>
                <td>{$lang.money_dj}</td>
            </tr>
        </thead>
        <tbody id="datatable">
            <!--{if $member_list}-->
            <!--{foreach from=$member_list item=v key=k name=name}-->
            <tr class="tatr2">
                <td class="firstCell">{$v.user_name|escape}</td>
                <td>{$v.reg_time|date:Y-m-d H:i:s}</td>
                <td>{$v.logins|escape}</td>
                <td>{$v.last_login|escape}({$v.last_ip|escape})</td>
                <td>{$v.phone_mob|escape}</td>
                <td>{$v.integral|escape}</td>
                <td>{$v.total_integral|escape}</td>
                <td>{$v.money|price}</td>
                <td>{$v.money_dj|price}</td>
            </tr>
            <!--{/foreach}-->
            <!--{else}-->
            <tr class="no_data">
                <td colspan="9">{$lang.no_data}</td>
            </tr>
            <!--{/if}-->
        </tbody>
    </table>
    <div class="pageLinks">{include file=page.bottom.html}</div>
</div>
<script>
    $(function() {
        //导出图表
        $("#export_btn").click(function() {
            var item = $("#export_type");
            var type = $(item).val();
            if (type == 'excel') {
                download_excel(item);
            }
        });
    });
</script>
{include file="footer.html"}